using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.Diagnostics;

namespace Kevin.Framework.Configuration
{
    sealed class MetaConfigurationSectionGroup : ConfigurationSectionGroup
    {
        ///// <summary>
        ///// Private const
        ///// </summary>
        //private const string _InstanceItem = "instance";

        /// <summary>
        /// Constructor
        /// </summary>
        public MetaConfigurationSectionGroup()
            : base()
        {
        }

        /// <summary>
        /// Source configuration mappings section
        /// </summary>
        [ConfigurationProperty(MetaConfigurationSourceInstanceSection.Name)]
        public MetaConfigurationSourceInstanceSection SourceConfigurationMapping
        {
            get
            {
                return base.Sections[MetaConfigurationSourceInstanceSection.Name]
                    as MetaConfigurationSourceInstanceSection;
            }
        }
    }
}
